StoreEngine\API\Payment S

Total Complexity 26
Dependencies 8
Dependents 1
Total lines 209
Lines of code 175
Logical lines of code 60
Comment lines 8
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
get_payments()
A
40 7 69
get_payment()
S
54 7 19
register_routes()
S
47 1 43
get_item()
S
62 3 11
check_payment_permissions()
S
67 2 8
init()
S
69 1 6
check_admin_permissions()
S
80 1 3
permissions_check()
S
80 1 3
create_payment()
S
69 1 7
collect_payment()
S
77 1 3
prepare_item_for_response()
S
80 1 3